package com.nthink.indicators.mapper.hospitalindicators;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.nthink.indicators.pojo.hospitalindicators.HumanResources;
import com.nthink.indicators.pojo.pie.PieDataModel;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author Angus Yu
 * @date 2021-03-29 11:26
 */
@Mapper
public interface HumanResourcesMapper extends BaseMapper<HumanResources> {

    public int getNumberOfStaff();
    public int getEmployeesOnDuty();
    public int getHealthTechnicalPersonnel();
    public int getPharmaceuticalProfessionals();
    public int getEmergencyDoctorsAndNurses();
    public int getDoctor();
    public double getMultipleDepartments();

    /**
     * 全院人员结构饼图数据
     * @return
     */
    public List<PieDataModel> getHumanResourcesPie();

    /**
     * 卫生技术人员职称构成比
     * @return
     */
    public List<PieDataModel> getPie1();
    /**
     * 麻醉人员职称构成比
     * @return
     */
    public List<PieDataModel> getPie2();
    /**
     * 药学专业技术人员构成比
     * @return
     */
    public List<PieDataModel> getPie3();
}
